package com.source.lightfowl.basedata.entity;

import lombok.Data;
import org.springframework.stereotype.Component;

import java.io.Serializable;
import java.util.List;

/**
 * @Description:
 * @Author: Faink
 * @CreateTime: 2020/9/12 22:05
 */
@Data
@Component
public class MachineStatusList implements Serializable{
    private List<Barcode_Machine_Status> list;
    private int size;
    private String status;
    public MachineStatusList(){}
    public MachineStatusList(List<Barcode_Machine_Status> list, String status) {
        this.list = list;
        this.size = list.size();
        this.status = status;
    }

    @Override
    public String toString() {
        return "MachineStatusList{" +
                "list=" + list +
                ", size=" + size +
                ", status='" + status + '\'' +
                '}';
    }
}
